package com.atqinke.designpattern.structuraltype.adapter.classadapter;

/**
 * @BelongsProject: BasicConnection
 * @BelongsPackage: com.atqinke.DesignPattern.structuraltype.adapter.classadapter
 * @Author: NieHk
 * @CreateTime: 2022-08-26  16:20
 * @Description: //SD卡实现类
 * @Version: 1.0
 */
public class SDCardImpl implements SDCard{

    @Override
    public String readSD() {
        String msg = "sd card read a msg :hello word SD";
        return msg;
    }

    @Override
    public void writeSD(String msg) {
        System.out.println("sd card write msg : " + msg);
    }
}
